package com.cgnpc.scp.hr.mybatis.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cgnpc.scp.common.utils.DateUtil;

import java.util.Date;

@TableName("tbl_hr_deploy_plan")
public class HrDeployPlan {
    private String id;

    private String procInstId;

    private String folio;

    private String processName;

    private String deployPlanType;

    private String year;

    private String deptId;

    private String deptName;

    private String remark;

    private String planFileId;

    private String backendPlanFileId;

    private Date createTime;

    private String createUser;

    private String createUserName;

    private Date lastUpdateTime;

    private String lastUpdateUser;

    private String lastUpdateUserName;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getProcInstId() {
        return procInstId;
    }

    public void setProcInstId(String procInstId) {
        this.procInstId = procInstId == null ? null : procInstId.trim();
    }

    public String getFolio() {
        return folio;
    }

    public void setFolio(String folio) {
        this.folio = folio == null ? null : folio.trim();
    }

    public String getProcessName() {
        return processName;
    }

    public void setProcessName(String processName) {
        this.processName = processName == null ? null : processName.trim();
    }

    public String getDeployPlanType() {
        return deployPlanType;
    }

    public void setDeployPlanType(String deployPlanType) {
        this.deployPlanType = deployPlanType == null ? null : deployPlanType.trim();
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year == null ? null : year.trim();
    }

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId == null ? null : deptId.trim();
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName == null ? null : deptName.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getPlanFileId() {
        return planFileId;
    }

    public void setPlanFileId(String planFileId) {
        this.planFileId = planFileId == null ? null : planFileId.trim();
    }

    public String getBackendPlanFileId() {
        return backendPlanFileId;
    }

    public void setBackendPlanFileId(String backendPlanFileId) {
        this.backendPlanFileId = backendPlanFileId == null ? null : backendPlanFileId.trim();
    }

    public Date getCreateTime() {
        return DateUtil.cloneNewDate(createTime);
    }

    public void setCreateTime(Date createTime) {
        this.createTime = DateUtil.cloneNewDate(createTime);
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser == null ? null : createUser.trim();
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName == null ? null : createUserName.trim();
    }

    public Date getLastUpdateTime() {
        return DateUtil.cloneNewDate(lastUpdateTime);
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = DateUtil.cloneNewDate(lastUpdateTime);
    }

    public String getLastUpdateUser() {
        return lastUpdateUser;
    }

    public void setLastUpdateUser(String lastUpdateUser) {
        this.lastUpdateUser = lastUpdateUser == null ? null : lastUpdateUser.trim();
    }

    public String getLastUpdateUserName() {
        return lastUpdateUserName;
    }

    public void setLastUpdateUserName(String lastUpdateUserName) {
        this.lastUpdateUserName = lastUpdateUserName == null ? null : lastUpdateUserName.trim();
    }

    @TableField(exist = false)
    private String planFileName;
    @TableField(exist = false)
    private String planFilePath;
    @TableField(exist = false)
    private String backendPlanFileName;
    @TableField(exist = false)
    private String backendPlanFilePath;

    public String getPlanFilePath() {
        return planFilePath;
    }

    public void setPlanFilePath(String planFilePath) {
        this.planFilePath = planFilePath;
    }

    public String getBackendPlanFilePath() {
        return backendPlanFilePath;
    }

    public void setBackendPlanFilePath(String backendPlanFilePath) {
        this.backendPlanFilePath = backendPlanFilePath;
    }

    public String getPlanFileName() {
        return planFileName;
    }

    public void setPlanFileName(String planFileName) {
        this.planFileName = planFileName;
    }

    public String getBackendPlanFileName() {
        return backendPlanFileName;
    }

    public void setBackendPlanFileName(String backendPlanFileName) {
        this.backendPlanFileName = backendPlanFileName;
    }
}